import { Component , Input } from '@angular/core';
import {ILoadingOverlayAngularComp} from '@ag-grid-community/angular';

@Component({
  selector: 'apes-loading-overlay',
  template:
  `
    <div class="ag-overlay-loading-center" class="overlay">
      <apes-spin apesTip="数据加载中请稍后...">
      </apes-spin>
    </div>
  `,
  styles: [
    ` .overlay {
        width:230px;
        text-align: center;
        border-radius: 4px;
        padding: 30px 50px;
       }
    `
  ]
})
export class ApesLoadingOverlayComponent implements  ILoadingOverlayAngularComp{
  private params: any;
  agInit(params): void {
    this.params = params;
  }
}
